<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
 <input type="hidden" name="organizations/organization[0]/sequence_no" value="1" >
<input type="hidden" name="organizations/organization[0]@submit_org" value="1" >
<input type="hidden" name="organizations/organization[0]/org_code" value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>" >
<div style="margin-bottom: 5px;">
    		<strong>温馨提示：</strong><br/>
    		<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
    		单位信息从【单位维护表】中导入，由单位管理员填写，如有疑问请联系单位管理员进行修改。 
    		</security:authorize>
    		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
    		单位信息从【单位维护表】中导入，如有数据需要调整，请您到【系统管理】->【单位信息维护】功能进行修改 。
    		</security:authorize>
</div>



<div class="t_bar">单位基本情况</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="orgInfo" cellspacing="1">
	<tr>
		<td width="20%" align="right" nowrap>牵头单位名称：</td>
		<td colspan="3"> 
			<span name="organizations/organization[0]/org_name">
				<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" />
		    </span>
		</td>
	</tr>
	<tr>
		<td align="right" width="20%">单位地址：</td>
		<td colspan="1"> 
		    	<span name="organizations/organization[0]/address_org">
		    		<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/address" />
		    	</span>
		</td>
		<td align="right" width="20%">邮政编码：</td>
		<td colspan="1"> 
		    	<span name="organizations/organization[0]/zip_code"> 
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/zip_code" /> 
		     </span>
		</td>
	</tr>
	 
	<tr>
		<td align="right">单位负责人：</td>
		<td>  
		     <span name="organization_persons/fzr_cname"> 
			    <x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname"/>
		    </span>
		</td>
		<td align="right">联系电话：</td>
		<td> 
		    <span name="organization_persons/fzr_tel"> 
			    <x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/tel"/>
		    </span>
		</td>
	</tr>
	
	<%-- <tr>
		<td align="right">联系人：</td>
		<td>  
		    <span name="organization_persons/lxr_name" id="lxr_name">
		         <x:out select="$xmlData/data/organization_persons/lxr_name" /> 
		    </span>
		</td>
		<td align="right">联系电话：</td>
		<td> 
		    <span name="organization_persons/lxr_tel" id="lxr_tel"> 
			    <x:out select="$xmlData/data/organization_persons/lxr_tel" /> 
		    </span>
		</td>
	</tr> --%>
	
	<tr>
	<td align="right">成立时间：</td>
		<td>
		    <span name="organizations/organization[0]/registe_date">
		       <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_date" />
		    </span>
		</td>
		<td align="right">注册资本：</td>
		<td>
		    <span name="organizations/organization[0]/registe_fund">
		       <x:out select="$xmlData/data/org_basic_info/registe_fund" />万<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_fund_money_name" />
		    </span>
		</td>
	</tr>
	<tr>
		<td align="right">注册类型：</td>
		<td colspan="1">
		    <span name="organizations/organization[0]/nature_name"> 
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_name" /> 
		    </span>
		    <input type="hidden" name="organizations/organization[0]/nature_value"  value="<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />"/>
		</td>
	
			<td align="right" >职工人数：</td>
			<td colspan="1" align="center"> 
				<span name="organizations/organization[0]/people_count_total" label="职工人数" id="people_count_total"><x:out select="$xmlData/data/organization_persons/people_count_total" /></span>
			</td>
	</tr>		
    <tr>
    		<td align="right" ><span class="color_red">*</span>专业技术人员：</td>
			<td colspan="1" align="center"> 
				<input id="people_tec_total" name="organization_persons2/people_tec_total" width="80%" onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;" 
					class="required valueCompare:people_tec_total:people_count_total" label="专业技术人员"
					 value="<x:out select="$xmlData/data/organization_persons2/people_tec_total" />" />
			</td>
			<td nowrap align="right"  width="20%"><span class="color_red">*</span>其中：高中级职称人数：</td>
			<td colspan='1' align="center">
		   		<input id="people_tec_total_high" name="organization_persons2/people_tec_total_high" width="80%" onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;" 
					class="required valueCompare:people_tec_total_high:people_tec_total" label="其中：高中级职称人数"
					 value="<x:out select="$xmlData/data/organization_persons2/people_tec_total_high" />" />
		</td>
		</tr>
		<tr>
    		<td align="right" ><span class="color_red">*</span>现有资产总额（万元）：</td>
			<td colspan="1" align="center"> 
				<input name="organization/zichan" width="80%" onfocus="InitInput.setNumber(this,7,4,2);" style="text-align: right;"  class="required" label="现有资产总额"
					 value="<x:out select="$xmlData/data/organization/zichan" />" />
			</td>
			<td>
			</td>
			<td>
			</td>
		</tr>	
</table>



	<div class="t_bar"><span class="color_red">*</span>牵头单位人员情况</div>
	<table class="t_css" width="100%" border="0" cellpadding="0" id="orgpersons" cellspacing="1">
		
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		
			<tr align="center">
				<td align=" ">职称分类</td>
				<td colspan="4">固定人员（专职）</td>
				<td colspan="3">流动人员（兼职）</td>
			</tr>
			<tr align="center">
				<td align=" ">工作分类</td>
				<td>总数</td>
				<td>高级</td>
				<td>中级</td>
				<td>博硕士</td>
				<td>总数</td>
				<td>高级</td>
				<td>中级</td>
			</tr>
			<tr align="center">
				  <td>技术人员
					<input type="hidden" name="orgpersons/orgperson[00]@seq_no" value="00">
					<input type="hidden" name="orgpersons/orgperson[00]/name" value="技术人员">
				</td>
				<td>
					<input id="fixed_total_00" name="orgpersons/orgperson[00]/fixed_total"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;"
					  class="input_css" label="固定人员中技术人员总数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/fixed_total" />" />
				</td>
				<td>
					<input id="fixed_high_00" name="orgpersons/orgperson[00]/fixed_high"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_high_00:fixed_total_00" label="固定人员中高级技术人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/fixed_high" />" />
				</td>
				<td>
					<input id="fixed_middle_00" name="orgpersons/orgperson[00]/fixed_middle"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_middle_00:fixed_total_00" label="固定人员中中级技术人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/fixed_middle" />" />
				</td>
				<td>
					<input id="fixed_bs_00" name="orgpersons/orgperson[00]/fixed_bs"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_bs_00:fixed_total_00" label="固定人员中博硕士技术人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/fixed_bs" />" />
				</td>
				
				<td>
					<input id="flex_total_00" name="orgpersons/orgperson[00]/flex_total"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;"
					  class="" label="流动人员中技术人员总数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/flex_total" />" />
				</td>
				<td>
					<input id="flex_high_00" name="orgpersons/orgperson[00]/flex_high"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:flex_high_00:flex_total_00" label="流动人员中高级技术人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/flex_high" />" />
				</td>
				<td>
					<input id="flex_middle_00" name="orgpersons/orgperson[00]/flex_middle"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:flex_middle_00:flex_total_00" label="流动人员中中级技术人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='00']/flex_middle" />" />
				</td>  
			</tr>
			
			<tr align="center">
				  <td>管理人员
					<input type="hidden" name="orgpersons/orgperson[01]@seq_no" value="01">
					<input type="hidden" name="orgpersons/orgperson[01]/name" value="管理人员">
				</td>
				<td>
					<input id="fixed_total_01" name="orgpersons/orgperson[01]/fixed_total"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;"
					  class="input_css" label="固定人员中管理人员总数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/fixed_total" />" />
				</td>
				<td>
					<input id="fixed_high_01" name="orgpersons/orgperson[01]/fixed_high"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_high_01:fixed_total_01" label="固定人员中高级管理人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/fixed_high" />" />
				</td>
				<td>
					<input id="fixed_middle_01" name="orgpersons/orgperson[01]/fixed_middle"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_middle_01:fixed_total_01" label="固定人员中中级管理人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/fixed_middle" />" />
				</td>
				<td>
					<input id="fixed_bs_01" name="orgpersons/orgperson[01]/fixed_bs"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_bs_01:fixed_total_01" label="固定人员中博硕士管理人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/fixed_bs" />" />
				</td>
				
				<td>
					<input id="flex_total_01" name="orgpersons/orgperson[01]/flex_total"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;"
					  class="" label="流动人员中管理人员总数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/flex_total" />" />
				</td>
				<td>
					<input id="flex_high_01" name="orgpersons/orgperson[01]/flex_high"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:flex_high_01:flex_total_01" label="流动人员中高级管理人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/flex_high" />" />
				</td>
				<td>
					<input id="flex_middle_01" name="orgpersons/orgperson[01]/flex_middle"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:flex_middle_01:flex_total_01" label="流动人员中中级管理人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='01']/flex_middle" />" />
				</td>  
			</tr>
		 
		 <tr align="center">
				  <td>服务人员
					<input type="hidden" name="orgpersons/orgperson[02]@seq_no" value="02">
					<input type="hidden" name="orgpersons/orgperson[02]/name" value="服务人员">
				</td>
				<td>
					<input id="fixed_total_02" name="orgpersons/orgperson[02]/fixed_total"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;"
					  class="input_css" label="固定人员中服务人员总数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/fixed_total" />" />
				</td>
				<td>
					<input id="fixed_high_02" name="orgpersons/orgperson[02]/fixed_high"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_high_02:fixed_total_02" label="固定人员中高级服务人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/fixed_high" />" />
				</td>
				<td>
					<input id="fixed_middle_02" name="orgpersons/orgperson[02]/fixed_middle"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_middle_02:fixed_total_02" label="固定人员中中级服务人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/fixed_middle" />" />
				</td>
				<td>
					<input id="fixed_bs_02" name="orgpersons/orgperson[02]/fixed_bs"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:fixed_bs_02:fixed_total_02" label="固定人员中博硕士服务人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/fixed_bs" />" />
				</td>
				
				<td>
					<input id="flex_total_02" name="orgpersons/orgperson[02]/flex_total"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;"
					  class="" label="流动人员中服务人员总数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/flex_total" />" />
				</td>
				<td>
					<input id="flex_high_02" name="orgpersons/orgperson[02]/flex_high"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:flex_high_02:flex_total_02" label="流动人员中高级服务人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/flex_high" />" />
				</td>
				<td>
					<input id="flex_middle_02" name="orgpersons/orgperson[02]/flex_middle"   onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width: 80%;" 
					 class=" valueCompare:flex_middle_02:flex_total_02" label="流动人员中中级服务人员数"
					 value="<x:out select="$xmlData/data/orgpersons/orgperson[@seq_no='02']/flex_middle" />" />
				</td>  
			</tr>
	</table>	
	
	<div class="t_bar"><span class="color_red">*</span>基础设施与主要仪器设备</div>
	<table class="t_css" width="100%" border="0" cellpadding="0" id="basicEquip" cellspacing="1">
		<col width="20%"/>
		<col width="30%"/>
		<col width="20%"/>
		<col width="30%"/>
		<tr>
			<td>
			1、服务场地使用面积（平方米）
			</td>
			<td colspan="3">
				<input name="proposal/acreage" onfocus="InitInput.setNumber(this,7,2,2);" style="text-align: right;width:30%;"  value="<x:out select="$xmlData/data/proposal/acreage" />" />
			</td>
		</tr>
		<tr>
			<td colspan="4">
				2、网络环境 
			</td>
		</tr>
		<tr>
			<td align="right">带宽（兆）</td>
			<td>
				<input name="proposal/bandwidth" onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width:80%;"  value="<x:out select="$xmlData/data/proposal/bandwidth" />" />
			 </td>
			<td align="right">服务器（台）</td>
			<td>
				<input name="proposal/servers" onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width:80%;"  value="<x:out select="$xmlData/data/proposal/servers" />" />
			 </td>
		</tr>
		<tr>
			<td colspan="4">
				3、现有仪器设备
			</td>
		</tr>
		<tr>
			<td align="right">10万元以上（台/套）</td>
			<td>
				<input name="proposal/equipgt10" onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width:80%;"  value="<x:out select="$xmlData/data/proposal/equipgt10" />" />
			 </td>
			<td align="right">10万元以下（台/套）</td>
			<td>
				<input name="proposal/equiplt10" onfocus="InitInput.setNumber(this,7,0,0);" style="text-align: right;width:80%;"  value="<x:out select="$xmlData/data/proposal/equiplt10" />" />
			 </td>
		</tr>
	</table>
	
	<div class="t_bar">列出主要仪器设备（原值10万元以上）清单</div>
<table  id="tblLists" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="4%">选择</th>
						<th class="TblHead" align="center"  width="4%">序号</th>
						<th class="TblHead" align="center"  width="9%">设备名称</th> 
						<th class="TblHead" align="center"  width="9%">型号</th>  
				        <th class="TblHead" align="center"  width="9%">价格<br/>（万元/台件）</th> 
						<th class="TblHead" align="center"  width="9%">增添理由</th>         
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selLists" >
						</td>
						<td align="center">&nbsp;
							<span name="lists|list[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" name="lists|list[0]|name" label="设备名称" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						
						<td align="center">
							<input type="text" name="lists|list[0]|model" label="型号" class=" input_text required" maxlength="50" style="width:80%"/>
						</td>
						
						<td align="center">
							<input type="text" name="lists|list[0]|price" label="价格" id="price2_[index]" class="input_text required valueGENum:price2_[index]:10万元" onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%" />
						</td> 
					
						<td align="center">
							<input type="text" name="lists|list[0]|remark" label="增添理由"  class=" input_text required" maxlength="100" style="width:80%"/>
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/lists/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selLists" >
						</td>
						<td align="center">&nbsp;
							<span name="lists/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="lists/list[${flag}${index}]/name"  label="设备名称" style="width:80%"   class="input_text required" value="<x:out select="$list/name" />" maxlength="50"/>
						</td>
						
						<td>
							<input type="text" name="lists/list[${flag}${index}]/model"  label="型号" style="width:80%"   class=" input_text required" value="<x:out select="$list/model" />" maxlength="50"/>
						</td>
						
						<td >
							<input type="text" name="lists/list[${flag}${index}]/price" id="price2_${index+1}"  label="价格"  onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%"  class="input_text required valueGENum:price2_${index+1}:10万元" value="<x:out select="$list/price" />"/>
						</td> 
						
						<td>
							<input type="text" name="lists/list[${flag}${index}]/remark"  label="增添理由"  style="width:80%"   class=" input_text required" value="<x:out select="$list/remark" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblLists");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center" border="0">
					<tr style="border: 0"><td style="border: 0">
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblLists');showDateTag('tblLists');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblLists','selLists')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblLists','selLists')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblLists','条仪器设备记录');">
					</td></tr>
	</table>
	
		 
		 
